package com.mingqijia.gassafety.webserver.response.workorder.asst;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.mingqijia.gassafety.webserver.response.ContactsResponse;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;
import java.util.List;

/**
 * @author zhangfei
 * @version 1.0.0
 * @ClassName ConsumerH5Response.java
 * @Description
 * @createTime 2022年09月22日
 */
@Data
public class ConsumerH5Response {

    private static final long serialVersionUID=1L;

    private Integer id;


    @ApiModelProperty(value = "VCC用户ID")
    private String memberId;

    @ApiModelProperty(value = "客户模板 0-报警器后台;  1-销售单")
    private Integer templateType;

    @ApiModelProperty(value = "户号")
    private String subsCode;

    @ApiModelProperty(value = "户名")
    private String custName;

    @ApiModelProperty(value = "户址")
    private String custAddress;

    @ApiModelProperty(value = "户主手机号")
    private String custPhone;

    @ApiModelProperty(value = "户主 用户类型")
    private String custType;

    @ApiModelProperty(value = "气户状态")
    private String custStatus;

    @ApiModelProperty(value = "名字")
    private String name;

    @ApiModelProperty(value = "地址(详细)")
    private String address;

    @ApiModelProperty(value = "行政区编码")
    private String adCode;

    @ApiModelProperty(value = "电话")
    private String phone;

    @ApiModelProperty(value = "经度")
    private Double positionLon;

    @ApiModelProperty(value = "纬度")
    private Double positionLat;

    @ApiModelProperty(value = "部门id")
    private Integer departmentId;

    private String path;

    @ApiModelProperty(value = "更新时间")
    private Date statusUpdatetime;

    @ApiModelProperty(value = "是否报警")
    private Boolean statusAnyalert;

    @ApiModelProperty(value = "是否故障")
    private Boolean statusAnybroken;

    @ApiModelProperty(value = "是否正常")
    @TableField("Status_AnyNormal")
    private Boolean statusAnynormal;

    @ApiModelProperty(value = "是否离线")
    private Boolean statusAnyoffline;

    @ApiModelProperty(value = "所属行业 -字典名称Industry_type")
    private String industryType;

    @ApiModelProperty(value = "客户序号")
    private String consumerSeq;

    @ApiModelProperty(value = "设备总数")
    private Integer equipmentTotal;

    @ApiModelProperty(value = "点位总数")
    private Integer pointTotal;

    @ApiModelProperty(value = "备注 200字以内")
    private String remark;


    @ApiModelProperty(value = "订单联系人姓名")
    private String orderCustName;
    @ApiModelProperty(value = "订单联系人手机号")
    private String orderPhone;
    @ApiModelProperty(value = "订单联系人地址")
    private String orderAddress;
    @ApiModelProperty(value = "模板类型：1燃气户 2 VCC")
    private Integer type;

    @ApiModelProperty(value = "联系人信息")
    private List<ContactsResponse> contactsResponseList;

    /**
     * sp_id
     */
    private String spId;
}